package com.sita.tboard.util;

import com.amap.api.maps.model.LatLng;

/**
 * Created by nilesh on 9/23/2015.
 */

public class Constants {

    public static final String WAKE_LOCK_TAG = "com.sitatech.dashboard.service.LocationPollerService";


    public static final boolean DEBUG = false;

    public static final LatLng TIANJIN = new LatLng(39.08662, 117.203887);// 天津市经纬度
    public static final long LOCATION_TIMEOUT = 10000;
    public static final float LOCATION_ACCURACY = 10.0f;
    public static final String IDENTIFIER_TYPE = "TQPADREST";
    public static final String IDENTIFIER = "IDENTIFIER";
    public static final String EXTRA_ERROR =
            "com.sitayun.dashboard.locserv.EXTRA_ERROR";
    public static final String EXTRA_INTENT =
            "com.sitayun.dashboard.locserv.EXTRA_INTENT";
    public static final String EXTRA_LOCATION =
            "com.sitayun.dashboard.LocationService.EXTRA_LOCATION";
    public static final String EXTRA_LASTKNOWN =
            "com.sitayun.dashboard.locserv.EXTRA_LASTKNOWN";
    /**
     * If this is returned true (defaults to false unless
     * provider is explicitly NOT enabled), then the provider
     * could not be enabled.
     */
    public static final String EXTRA_ERROR_PROVIDER_DISABLED =
            "com.sitayun.dashboard.locserv.EXTRA_ERROR_PROV_DISABLED";
    /**
     * Optional Timeout. Pass milliseconds as a long. Defaults
     * to 15 seconds.
     */
    public static final String EXTRA_TIMEOUT =
            "com.sitayun.busclient.locserv.EXTRA_TIMEOUT";

    public static final String UPLOAD_SERVER_ROOT = "http://182.254.212.137:8080/dspt/if1";
    public static final String UPLOAD_LOCATION_SERVER_URI = "/create/event/pad";
    public static final String UPLOAD_LOCATION_MEDIA_TYPE = "application/vnd.sita.tsp.if1.create.event.v1+octet-stream";

    public static final String CONTENT_TYPE = "Content-Type: " + UPLOAD_LOCATION_MEDIA_TYPE;
    public static final String ACCEPT = "Accept: " + UPLOAD_LOCATION_MEDIA_TYPE;
    public static final long TIMEOUT = 5000;
}
